# Basic Definition For Multi-Threading Basic Linear Algebra Subprograms 
# (MTBLAS) Makefile
#
# Building by using BMake
#
# $ MTBLAS: Makefile.mk    Rev. 0.0.4    2013-11-08T18:10+08:00 $

.ifdef WITH_CLANG
STDCC=clang
MPICC=clang -I/usr/local/mpi/opnempi/include
AR=ar -rcv
RANLIB=ranlib
LD=ld
LDFLAGS= -shared
.else
STDCC=cc
MPICC=mpicc
AR=ar -rcv
RANLIB=ranlib
LD=ld
LDFLAGS= -shared
.endif

LN=ln -sf
RM=rm -rf

LD_LIBRARY_PATH=

CONFIGURE_ARGS=

.ifdef TRACE_INFO
CONFIGURE_ARGS+= -DTRACE_INFO
.endif

.ifdef DEBUG_INFO
CONFIGURE_ARGS+= -DDEBUG_INFO
.endif

.ifdef NOERR_CHKS
CONFIGURE_ARGS+= -DNOERR_CHKS
.endif

.ifdef NOHEX_DATA
CONFIGURE_ARGS+= -DNOHEX_DATA
.endif
